const myCourses = {
  path: '/mycourses',
  name: 'MyCourses',
  component: resolve => require(['@/views/myCourses/myCourses'], resolve),
  meta: {
    name: '我的课程',
    roles: [1, 2, 8, 16, 32, 64, 128, 256, 512]
  },
  // redirect: {
  //   name: 'myTeaching'
  // },
  // children: [
  //   {
  //     path: 'studying',
  //     name: 'myStudying',
  //     component: resolve => require(['@/views/myCourses/studying/studying'], resolve),
  //     meta: {
  //       name: '正在学习',
  //       roles: [2, 8, 16, 32, 64, 128, 256, 512],
  //       noAddTag: true
  //     },
  //   },
  //   {
  //     path: 'studied',
  //     name: 'myStudied',
  //     component: resolve => require(['@/views/myCourses/studied/studied'], resolve),
  //     meta: {
  //       name: '完成学习',
  //       roles: [2, 8, 16, 32, 64, 128, 256, 512],
  //       noAddTag: true
  //     },
  //   },
  //   {
  //     path: 'myteaching',
  //     name: 'myTeaching',
  //     component: resolve => require(['@/views/myCourses/teaching/teaching'], resolve),
  //     meta: {
  //       name: '正在教学',
  //       roles: [2, 32, 128],
  //       noAddTag: true
  //     },
  //   },
  //   {
  //     path: 'taught',
  //     name: 'myTaught',
  //     component: resolve => require(['@/views/myCourses/taught/taught'], resolve),
  //     meta: {
  //       name: '完成教学',
  //       roles: [2, 32, 128],
  //       noAddTag: true
  //     },
  //   },
  //   {
  //     path: 'indesign',
  //     name: 'myinDesign',
  //     component: resolve => require(['@/views/myCourses/inDesign/inDesign'], resolve),
  //     meta: {
  //       name: '正在设计',
  //       roles: [64],
  //       noAddTag: true
  //     },
  //   },
  //   {
  //     path: 'designed',
  //     name: 'myDesigned',
  //     component: resolve => require(['@/views/myCourses/designed/designed'], resolve),
  //     meta: {
  //       name: '完成设计',
  //       roles: [64],
  //       noAddTag: true
  //     },
  //   },
  // ],
}

export default myCourses